package com.xhui.vimarket.common.utils.vo;

import lombok.Getter;
import lombok.Setter;

/**
 * 基本查询VO.
 * 
 * @author peilh
 */
public class QueryVO {
    private String id_;
    
    private String name_;
    
    private String nameLike_;
    
    private int    currentPage;
    
    private int    perPageCount;
    
    /**
     * 员工任职角色岗位的组织来自任职关系的组织.
     * g.huangwch 2012-02-23
     */
    @Getter
    @Setter
    private Long           orgId;
    /**
     * A端员工任职标识.
     * g.huangwch 2012-04-24
     */
    @Getter
    @Setter
    private Long staffPositionAId;
    
    public QueryVO() { // 默认为第一页
        this.currentPage = 1;
        this.perPageCount = 10;
    }
    
    public static QueryVO newInstance() {
        QueryVO queryVo = new QueryVO();
        return queryVo;
    }
    
    public String getId_() {
        return this.id_;
    }
    
    public void setId_(final String id_) {
        this.id_ = id_;
    }
    
    public String getName_() {
        return this.name_;
    }
    
    public void setName_(final String name_) {
        this.name_ = name_;
    }
    
    public int getCurrentPage() {
        return this.currentPage;
    }
    
    public void setCurrentPage(final int currentPage) {
        this.currentPage = currentPage;
    }
    
    public int getPerPageCount() {
        return this.perPageCount;
    }
    
    public void setPerPageCount(final int perPageCount) {
        this.perPageCount = perPageCount;
    }
    
    public String getNameLike_() {
        return this.nameLike_;
    }
    
    public void setNameLike_(final String nameLike_) {
        this.nameLike_ = nameLike_;
    }
}
